presentation
Class ListenIdentification

java.lang.Object
  extended by presentation.ListenIdentification
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ListenIdentification
extends java.lang.Object
implements java.awt.event.ActionListener

Class ListenCreationChampionnat Package presentation Gestion de l'identification des utilisateurs via l'IHM

Author:
Hervé Le Fouler et Lionel Lasry

Field Summary
 java.util.ResourceBundle bundle
           
private  javax.swing.JFrame fenetre
           
 java.util.Locale local
           
private  javax.swing.JTextField momTextFieldLogin
           
private  javax.swing.JTextField momTextFieldPasse
           
private  Ihm.ZoneCreationChampionnat zoneCreationChampionnats
           
private  Ihm.EcranLogin zoneCreationLogin
           
private  Ihm.ZoneGestionChampionnats zoneGestionChampionnats
           
 
Constructor Summary
ListenIdentification(javax.swing.JFrame fenetre, javax.swing.JTextField momTextFieldLogin, javax.swing.JTextField momTextFieldPasse, Ihm.ZoneCreationChampionnat zoneCreationChampionnats, Ihm.ZoneGestionChampionnats zoneGestionChampionnats, Ihm.EcranLogin zoneCreationLogin)
          Constructeur de ListenCreationChampionnat
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Méthode implémenté par ActionListener On récupère les textes saisis dans les textfields On les compare avec les utilisateurs enregistrés Si l'utilisateur existe, on rends les JPanel des championnats visibles Sinon on envoie un message d'erreur à l'utilisateur
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

local

public java.util.Locale local

bundle

public java.util.ResourceBundle bundle

momTextFieldLogin

private javax.swing.JTextField momTextFieldLogin

momTextFieldPasse

private javax.swing.JTextField momTextFieldPasse

zoneCreationChampionnats

private Ihm.ZoneCreationChampionnat zoneCreationChampionnats

zoneGestionChampionnats

private Ihm.ZoneGestionChampionnats zoneGestionChampionnats

zoneCreationLogin

private Ihm.EcranLogin zoneCreationLogin

fenetre

private javax.swing.JFrame fenetre
Constructor Detail

ListenIdentification

public ListenIdentification(javax.swing.JFrame fenetre,
                            javax.swing.JTextField momTextFieldLogin,
                            javax.swing.JTextField momTextFieldPasse,
                            Ihm.ZoneCreationChampionnat zoneCreationChampionnats,
                            Ihm.ZoneGestionChampionnats zoneGestionChampionnats,
                            Ihm.EcranLogin zoneCreationLogin)
Constructeur de ListenCreationChampionnat

Parameters:
JFrame - fenetre : la fenetre actuelle
JTextField - momTextFieldLogin : Le champ texte qui contient l'identifiant
JTextField - momTextFieldPasse : Le champ texte qui contient le mot de passe
ZoneCreationChampionnat - zoneCreationChampionnats : Le JPanel de creation des championnats
ZoneCreationChampionnat - zoneCreationChampionnats : Le JPanel de gestion des championnats
EcranLogin - zoneCreationLogin : Le Jpanel d'identification
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Méthode implémenté par ActionListener On récupère les textes saisis dans les textfields On les compare avec les utilisateurs enregistrés Si l'utilisateur existe, on rends les JPanel des championnats visibles Sinon on envoie un message d'erreur à l'utilisateur

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
ActionEvent - evt